<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$ts['site']['site_name']}管理后台</title>
<style type="text/css">
<!--
*{margin:0;padding:0}
body {
	font-family:arial;
	font-size: 12px;
	background:#EFF3F6;
	margin: 0px;
}
li{ list-style-type: none;}
ul, form, input { font-size:12px; padding:0; margin:0;}
a:link { color:#084F63;}
a:visited { color:#084F63;}
a:hover{ color:#cc3300;}
a img { border: none;}
img{ border: 0px;}
.fl { float:left;}
.wrap_login {width:532px;height:380px;margin:0 auto;margin-top:150px;background:url(../Public/images/login/login_box_bg.png) no-repeat top;position:relative}
.wrap_login .la {}
.wrap_login .lb { width:176px; height:215px; background:url(../Public/images/login/gm_l_f.gif) no-repeat center center;}
.wrap_login .box_login { width:257px;color:#fff;position:absolute;right:40px;top:80px;padding:20px 0 0 30px;font-size:14px}
.wrap_login .box_login dd{padding:0 0 15px}
.wrap_login .box_login dd label{width:60px;display:block;float:left;padding:5px 0}
.wrap_login .box_login .c1{margin-left:60px}
.wrap_login .box_login .txt{padding:5px;background-color:#C0E3F1;border:#C0E3F1 solid 1px; vertical-align:middle}
.wrap_login .box_login .txt2{padding:5px;background-color:#fff;border:#fff solid 1px; vertical-align:middle}
.wrap_login .lc ul { padding-left:20px;}
.wrap_login .lc li { float:left; width:237px; line-height:22px;}
.wrap_login .lx { margin-left:24px;}
.ldinput {border:1px solid #c3c6cb; padding:2px;}
.lf {  margin-bottom:13px; }
.footer_login {
	height:39px;
	line-height:22px;
	color:#084F63;
	text-align:center;
	padding-top:15px;
	position:absolute;
	bottom:10px;
	width:532px
}
-->
</style>

<script type="text/javascript" src="__PUBLIC__/js/jquery.js"></script>

<script>
function changeverify(){
    var date = new Date();
    var ttime = date.getTime();
    var url = "{:U('home/Public/verify')}";
    $('#verifyimg').attr('src',url+'&'+ttime);
}
</script>

</head>
<body>
<div class="wrap_login">
  <div class="la fl">
    <div class="box_login">
      <form action="{:U('home/Public/doAdminLogin')}" name="reg" method="post"  class="nf lf">
			<dl>
				<php>if($uid){</php>
					<dd><label>名　字：</label>{$uid|getUserName}</dd>
				<php>}else{</php>
					<dd>
					   <label>帐　号：</label>
					   <div class="c1"><input class="txt" onfocus="this.className='txt2'" onblur="this.className='txt'" type="text" name="email" value="" style="width:180px"></div>
				    </dd>
				<php>}</php>
				<dd>
				    <label>密　码：</label>
				    <div class="c1"><input class="txt" onfocus="this.className='txt2'" onblur="this.className='txt'" type="password" name="password" value="" style="width:180px"></div>
				</dd>
				<dd>
				    <label>验证码：</label>
                    <div class="c1">
				    <input class="txt" onfocus="this.className='txt2'" onblur="this.className='txt'" name="verify" value="" style="width:58px">
				    <a href="javascript:void(0);" onclick="changeverify()"><img src="{:U('home/public/verify')}" id="verifyimg" alt="换一张" style="vertical-align:middle" /></a> 
                    </div>
				</dd>
				<dd>
				    <label>&nbsp;</label>
                    <input type="image" onclick="submit();" src="../Public/images/login/btn_login.png" style="height:32px; width:102px;" />
                </dd>
			</dl>
			</form>
		</div>
	</div>
	<div class="footer_login">Copyright &copy; 2008-2012 <a href="http://http://www.zhishisoft.com/" target="_blank" >智士软件（北京）有限公司</a> 版权所有</div>
</div>
</body>
</html>
